From d1aae700fec9274bc5fec7eb60636240cec5fa3c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 26 Jun 2004 09:44:56 +0000 Subject: [PATCH] (Man-getpage-in-background): Add windows-nt to the list of systems where shell-file-name should be used instead of literal "sh". --- lisp/man.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/man.el b/lisp/man.el index 5a07045dda9..cbfae21e44b 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -733,7 +733,9 @@ all sections related to a subject, put something appropriate into the (if (fboundp 'start-process) (set-process-sentinel (start-process manual-program buffer - (if (eq system-type 'cygwin) shell-file-name "sh") + (if (memq system-type '(cygwin windows-nt)) + shell-file-name + "sh") shell-command-switch (format (Man-build-man-command) man-args)) 'Man-bgproc-sentinel) -- 2.30.2